import {
	HTTP
} from "../../utils/http.js";

class RenewalAlert extends HTTP {
	// 获取续费预警列表
	getAlertsListAPI(data) {
		return this.request({
			url: "/wx/alerts/alertsList",
			data: data,
			method: "GET"
		});
	}
	// 预警设置-读取
	getSettingsListAPI(data) {
		return this.request({
			url: "/wx/alerts/settingsList",
			data: data,
		})
	}
	// 预警设置-保存
	saveAlertSettingsAPI(data) {
		return this.request({
			url: "/wx/alerts/alertSettings",
			data: data,
		})
	}

	// 发送续费提醒
	setMessageAPI(data) {
		return this.request({
			url: "/wx/alerts/renewalReminders",
			data: data,
		})
	}

}
export {
	RenewalAlert
}